package day04;
//为什么三个式子，三个未知数，无法确定未知数的值是多少？
//或者说，把题目给的所有条件都用上
import java.util.Scanner;

public class L0401 {
    public static void main (String[] args) {
        Scanner p=new Scanner (System.in);
        while(p.hasNextInt ()){
            int A=p.nextInt ();
            int B=p.nextInt ();
            int C=p.nextInt ();
            int D=p.nextInt ();
            int a,b,c;
            if((A+C)%2==1){
                System.out.println ("No");
            }else{
                a=(A+C)/2;
                b=a-A;
                c=D-b;
                if((b-c)==B) {
                    System.out.println (a + " " + b + " " + c);
                }else{
                    System.out.println ("No");
                }
            }
        }
    }
}
